package DARCOShared.responses;


public class CreateAccountResponse implements ResponseBase, java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	public boolean error;
	public String errorMessage;
	
	
	public CreateAccountResponse(String errorMessage){
		error = true;
		this.errorMessage = errorMessage;
	}
	
	public CreateAccountResponse(){
		error=false;
	}
	
	@Override
	public ResponseType getResponseType() {
		return ResponseType.CreateAccount;
	}
	
}
